﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_HRM_PROCESS_ACCIDENTData : MarshalByRefObject, IHRM_PROCESS_ACCIDENTData
    {
        HRM_PROCESS_ACCIDENTData PROCESS_ACCIDENT = new HRM_PROCESS_ACCIDENTData();

        public int HRM_PROCESS_ACCIDENT_Delete(Guid AccidentID)
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_Delete(AccidentID);
        }

        public int HRM_PROCESS_ACCIDENT_Disable(Guid AccidentID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet HRM_PROCESS_ACCIDENT_Get(Guid AccidentID)
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_Get(AccidentID);
        }
        public System.Data.DataSet HRM_PROCESS_ACCIDENT_GetList()
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_GetList();
        }
        public int HRM_PROCESS_ACCIDENT_Insert(Guid AccidentID, string EmployeeCode, string AccidentName, string Reason, DateTime DateOccured, string Location, string Description, string Damage, string Injury, string Allowance, string Note)
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_Insert(AccidentID,EmployeeCode,AccidentName,Reason,DateOccured,Location,Description,Damage,Injury,Allowance,Note);
        }
        public int HRM_PROCESS_ACCIDENT_Save(Guid AccidentID, string EmployeeCode, string AccidentName, string Reason, DateTime DateOccured, string Location, string Description, string Damage, string Injury, string Allowance, string Note)
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_Save(AccidentID, EmployeeCode, AccidentName, Reason, DateOccured, Location, Description, Damage, Injury, Allowance, Note);
        }
        public int HRM_PROCESS_ACCIDENT_Update(Guid AccidentID, string EmployeeCode, string AccidentName, string Reason, DateTime DateOccured, string Location, string Description, string Damage, string Injury, string Allowance, string Note)
        {
            return PROCESS_ACCIDENT.HRM_PROCESS_ACCIDENT_Update(AccidentID,EmployeeCode,AccidentName,Reason,DateOccured,Location,Description,Damage,Injury,Allowance,Note);
        }
       
    }
}
